import App from './App'
import config from '@/common/config'
import uviewPlus from 'uview-plus'
import store from './store'
import {
	createSSRApp
} from 'vue'
import {
	initRequest
} from './util/request/index'

export function createApp() {
	 
	const app = createSSRApp(App)
	app.config.globalProperties.$config = config;
	app.use(store);
	app.use(uviewPlus);
	initRequest()
	return {
		app
	}
}